Return

Edit Task: DurationMaxGap

Description

The DurationMaxGap attribute under EditTask defines the maximum duration of gap between adjacent assignments for this task. This value is only applicable if DurationIsOverlapRequired is set to FALSE (allow gaps).

Parameters

ParameterDescription
DurationMaxGapA double value greater than or equal to zero that defines the task's maximum gap duration constraint between this task's assignments. Any two assignments can be separated by a maximum of this duration value. Used when DurationIsOverlapRequired = false.

Examples

Sets the max gap duration to 10s.

PATCH api/task/TaskA

Body:

{

"DurationMaxGap" : "10"

}